home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
PASCAL
/
0635.ZIP
/
CURSOR.INC
< prev
next >
Wrap
Text File
|
1987-04-17
|
586b
|
36 lines
Procedure Cursor(ch,cl:Byte);
Type RegType = Record
AX,BX,CX,DX,BP,DI,SI,DS,ES,Flags : Integer;
End;
Var
Register : RegType;
AH : Byte;
Begin
AH := 1;
With Register do
Begin
AX := AH shl 8;
CX := ch shl 8 + cl;
Intr($10,Register);
End;
End; {Cursor}
Procedure CursorOn;
Begin
Case MG_ScreenType of
'C' : Cursor(6,7);
'M' : Cursor(8,9);
End; {case}
End; {CursorOn}
Procedure CursorOff;
Begin
Case MG_ScreenType of
'C' : Cursor(8,0);
'M' : Cursor(15,0);
End; {case}
End; {CursorOff}